package com.aplink.generic.pojo.controlspec.actionbar;

import java.util.ArrayList;

public class SelectionSpec {
	private String mContentData;
	private String mDisplayProperty;
	private final ArrayList<String> mFilterField;
	private int mIgnoreIndex;
	private String mSearchFor;
	private String mValueProperty;

	public SelectionSpec() {
		mFilterField = new ArrayList<>();
	}

	public void addFilterField(final String field) {
		this.mFilterField.add(field);
	}

	public String getContentData() {
		return this.mContentData;
	}

	public String getDisplayProperty() {
		return this.mDisplayProperty;
	}

	public ArrayList<String> getFilterField() {
		return mFilterField;
	}

	public int getIgnoreIndex() {
		return this.mIgnoreIndex;
	}

	public String getSearchFor() {
		return this.mSearchFor;
	}

	public String getValueProperty() {
		return this.mValueProperty;
	}

	public void setContentData(final String contentData) {
		this.mContentData = contentData;
	}

	public void setDisplayProperty(final String displayProperty) {
		this.mDisplayProperty = displayProperty;
	}

	public void setIgnoreIndex(final int ignoreIndex) {
		this.mIgnoreIndex = ignoreIndex;
	}

	public void setSearchFor(final String searchFor) {
		this.mSearchFor = searchFor;
	}

	public void setValueProperty(final String valueProperty) {
		this.mValueProperty = valueProperty;
	}
}
